package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
/**
 * @author hjh
 */
@Data
@ApiModel(description = "特定招待企业表")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_PURCHASER_INVOICE_SELLER_RULES)
public class InvoiceSellerRulesEntity extends BaseEntity implements Serializable {
    @ApiModelProperty("特定招待企业ID")
    @TableId("seller_rule_id")
    private String sellerRuleId;

    @ApiModelProperty("发票审核规则uuid")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("特定招待企业票种类型，全部 ->00，专票-> 01，普票-> 02")
    @TableField("seller_ticket_type")
    private String sellerTicketType;

    @ApiModelProperty("特定招待企业敏感抬头")
    @TableField("seller_sensitive_head")
    private String sellerSensitiveHead;

    @ApiModelProperty("特定招待企业不通过原因")
    @TableField("seller_not_pass_reasons")
    private String sellerNotPassReasons;

    @ApiModelProperty("特定招待企业是否开启，0->不开启 1->开启")
    @TableField("seller_is_open")
    private String sellerIsOpen;

    @ApiModelProperty("审核未通过规则枚举(0 - 已通过)")
    @TableField("force_flag")
    private String forceFlag;


}
